import { dayFormat } from "@/utils/dayUtil";
import dayjs from "dayjs";
export const dwLinkmanInfoColumns = [
  {
    prop: "dwInfoId",
    label: "客户单位",
    minWidth: "160px",
  },
  {
    prop: "truename",
    label: "联系人姓名",
    width: "100px",
  },
  {
    prop: "mobile",
    label: "手机号码",
    width: "120px",
  },
  {
    prop: "birthday",
    label: "出生日期",
    width: "120px",
    render(row: any) {
      return h("div", {}, dayFormat(row.date));
    },
  },
  {
    prop: "deptName",
    label: "所属部门",
    width: "90px",
  },
  {
    prop: "zw",
    label: "职务",
    width: "100px",
  },
  {
    prop: "postAddress",
    label: "邮寄地址",
    width: "160px",
  },
  {
    prop: "yzCode",
    label: "邮政编码",
    width: "100px",
  },
  {
    prop: "tel",
    label: "固定电话",
    width: "140px",
  },
  {
    prop: "fax",
    label: "传真",
    width: "100px",
  },
  {
    prop: "qq",
    label: "qq",
    width: "100px",
  },
  {
    prop: "email",
    label: "email",
    width: "140px",
  },
  {
    prop: "wx",
    label: "微信",
    width: "100px",
  },
  {
    prop: "makerStaffTruename",
    label: "操作员",
    width: "80px",
  },
];
